<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="css/webbase.css" th:href="@{/css/pages-cart.css}" />
</head>
<body>
<h1 th:text="${#dates.format(now,'yyyy-MM-dd')}"></h1>

<br>
<h2 th:text="${#numbers.formatDecimal(num,2,2)}"></h2>

<h3 th:text="${msg}"></h3>

<h4 th:text="${#strings.abbreviate(msg,18)}"></h4>
<h4 th:text="${#strings.substring(msg,0,18)}"></h4>

</body>
</html>